/*********************************************************
**                                                      **
**      SpeedButton.mcc                                 **
**                                                      **
**              ©1999 Simone Tellini                    **
**                                                      **
*********************************************************/

#define MUIC_SpeedButton     'SpeedButton.mcc'
#define SpeedButtonObject    MUI_NewObject( MUIC_SpeedButton

#define BTTAGBASE            $F76B0100

/*************************
**      Methods         **
*************************/

#define MUIM_SpeedButton_Update          (BTTAGBASE + 1)        /*  PRIVATE  */

/*************************
**      Attributes      **
*************************/

#define MUIA_SpeedButton_Borderless      (BTTAGBASE + 1)        /*  BOOL                I... */
#define MUIA_SpeedButton_Image           (BTTAGBASE + 2)        /*  struct MyBrush  *   I... */
#define MUIA_SpeedButton_Label           (BTTAGBASE + 3)        /*  STRPTR              I... */
#define MUIA_SpeedButton_ViewMode        (BTTAGBASE + 4)        /*  ULONG               IS.. */
#define MUIA_SpeedButton_Raising         (BTTAGBASE + 5)        /*  BOOL                IS.. */
#define MUIA_SpeedButton_MinWidth        (BTTAGBASE + 6)        /*  BOOL                I.G. */
#define MUIA_SpeedButton_NoClick         (BTTAGBASE + 7)        /*  BOOL                I... */
#define MUIA_SpeedButton_SpeedBar        (BTTAGBASE + 8)        /*  Object *            ISG. */
#define MUIA_SpeedButton_QuietNotify     (BTTAGBASE + 9)        /*  BOOL                .S.. */

/* PRIVATE */
#define MUIA_SpeedButton_ToggleMode      (BTTAGBASE + 10)       /*  BOOL                I... */
#define MUIA_SpeedButton_ShowMe          (BTTAGBASE + 11)       /*  BOOL                ..G. */

/* PRIVATE */
#define MUIA_SpeedButton_ImmediateMode   (BTTAGBASE + 12)       /*  BOOL                I... */
#define MUIA_SpeedButton_StripUnderscore  (BTTAGBASE + 13)      /*  BOOL                I... */
#define MUIA_SpeedButton_SmallImage      (BTTAGBASE + 14)       /*  BOOL                IS.. */
#define MUIA_SpeedButton_Sunny           (BTTAGBASE + 15)       /*  BOOL                I... */
#define MUIA_SpeedButton_MinHeight       (BTTAGBASE + 16)       /*  BOOL                I.G. */

/*************************
**      Values          **
*************************/

#define SB_MAXLABELLEN                       40
#define MUIV_SpeedButton_ViewMode_TextGfx    0
#define MUIV_SpeedButton_ViewMode_Gfx        1
#define MUIV_SpeedButton_ViewMode_Text       2

/*************************
**      Structures      **
*************************/

OBJECT MUIP_SpeedButton_Update
        MethodID:ULONG,
        Selected:ULONG


